//  -------------------- iSharePoint -------------------- //
// 
//  Company:	IT Complex, LLC
//  Project:	Smart.Common
//  File name:	XmlRuleConditionFunction.cs
//  Developer:	Solomatov Igor
//  Created:	15.04.2012
// 
//  -------------------- iSharePoint -------------------- //

namespace Smart.Common.Rules
{
	/// <summary>
	/// Rule condition function
	/// </summary>
	public class XmlRuleConditionFunction : XmlRuleMethod
	{
		/// <summary>
		/// Initialize new empty XmlRuleConditionFunction
		/// </summary>
		public XmlRuleConditionFunction()
		{
		}

		/// <summary>
		/// Initialize new XmlRuleConditionFunction
		/// </summary>
		/// <param name="name">function name</param>
		/// <param name="parameters">function parameters</param>
		public XmlRuleConditionFunction(string name, string[] parameters)
			: base(name, parameters)
		{
			Name = name;
			Parameters = parameters;
		}
	}
}